﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TextAutoEdit
{
    internal class MLog
    {
        public static event Action<string> PrintEvent;

        public static void Log<T>(T m)
        {
            PrintEvent?.Invoke($"[Log] {m}");
        }

        public static void Err<T>(T m)
        {
            PrintEvent?.Invoke($"[Err] {m}");
        }
    }
}
